import React, { Suspense } from 'react';
import './App.css';
import Router from './router'
import store from './store'
import { Provider } from 'react-redux'

function App() {
  return (
    <Provider store={store}>
      <Suspense fallback={<div>loading</div>}>
        <Router></Router>
      </Suspense>
    </Provider>
  );
}

export default App;
